package cn.itcast.usermanage.service.impl;

import org.springframework.stereotype.Service;

@Service
public class CopyOfUserServiceImpl {

	/*@Autowired
	private UserMapper userMapper;
	
//	@Autowired
//	private NewUserMapper newUserMapper;
	
	public EasyUIPage queryAllUser(Integer pageNum, Integer pageSize) {
		PageHelper.startPage(pageNum, pageSize);
		List<User> users = userMapper.queryAllUser();
		
		PageInfo<User> pageInfo = new PageInfo<User>(users);
		
		EasyUIPage easyUIPage = new EasyUIPage();
		//easyUIPage.setRows(users);
		easyUIPage.setRows(pageInfo.getList());
		easyUIPage.setTotal(pageInfo.getTotal());
		return easyUIPage;
	}

	public Integer addUser(User user) {
		return this.userMapper.addUser(user);
	}

	public Integer deleteUserByIds(Long[] ids) {
		
		return userMapper.deleteUserByIds(ids);
	}
*/
}
